package com.sdry.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GodownEntryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GodownEntryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGodownidIsNull() {
            addCriterion("godownId is null");
            return (Criteria) this;
        }

        public Criteria andGodownidIsNotNull() {
            addCriterion("godownId is not null");
            return (Criteria) this;
        }

        public Criteria andGodownidEqualTo(Long value) {
            addCriterion("godownId =", value, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidNotEqualTo(Long value) {
            addCriterion("godownId <>", value, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidGreaterThan(Long value) {
            addCriterion("godownId >", value, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidGreaterThanOrEqualTo(Long value) {
            addCriterion("godownId >=", value, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidLessThan(Long value) {
            addCriterion("godownId <", value, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidLessThanOrEqualTo(Long value) {
            addCriterion("godownId <=", value, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidIn(List<Long> values) {
            addCriterion("godownId in", values, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidNotIn(List<Long> values) {
            addCriterion("godownId not in", values, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidBetween(Long value1, Long value2) {
            addCriterion("godownId between", value1, value2, "godownid");
            return (Criteria) this;
        }

        public Criteria andGodownidNotBetween(Long value1, Long value2) {
            addCriterion("godownId not between", value1, value2, "godownid");
            return (Criteria) this;
        }

        public Criteria andGotimeIsNull() {
            addCriterion("goTime is null");
            return (Criteria) this;
        }

        public Criteria andGotimeIsNotNull() {
            addCriterion("goTime is not null");
            return (Criteria) this;
        }

        public Criteria andGotimeEqualTo(Date value) {
            addCriterion("goTime =", value, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeNotEqualTo(Date value) {
            addCriterion("goTime <>", value, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeGreaterThan(Date value) {
            addCriterion("goTime >", value, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeGreaterThanOrEqualTo(Date value) {
            addCriterion("goTime >=", value, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeLessThan(Date value) {
            addCriterion("goTime <", value, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeLessThanOrEqualTo(Date value) {
            addCriterion("goTime <=", value, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeIn(List<Date> values) {
            addCriterion("goTime in", values, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeNotIn(List<Date> values) {
            addCriterion("goTime not in", values, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeBetween(Date value1, Date value2) {
            addCriterion("goTime between", value1, value2, "gotime");
            return (Criteria) this;
        }

        public Criteria andGotimeNotBetween(Date value1, Date value2) {
            addCriterion("goTime not between", value1, value2, "gotime");
            return (Criteria) this;
        }

        public Criteria andGocompanyIsNull() {
            addCriterion("goCompany is null");
            return (Criteria) this;
        }

        public Criteria andGocompanyIsNotNull() {
            addCriterion("goCompany is not null");
            return (Criteria) this;
        }

        public Criteria andGocompanyEqualTo(String value) {
            addCriterion("goCompany =", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyNotEqualTo(String value) {
            addCriterion("goCompany <>", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyGreaterThan(String value) {
            addCriterion("goCompany >", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyGreaterThanOrEqualTo(String value) {
            addCriterion("goCompany >=", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyLessThan(String value) {
            addCriterion("goCompany <", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyLessThanOrEqualTo(String value) {
            addCriterion("goCompany <=", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyLike(String value) {
            addCriterion("goCompany like", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyNotLike(String value) {
            addCriterion("goCompany not like", value, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyIn(List<String> values) {
            addCriterion("goCompany in", values, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyNotIn(List<String> values) {
            addCriterion("goCompany not in", values, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyBetween(String value1, String value2) {
            addCriterion("goCompany between", value1, value2, "gocompany");
            return (Criteria) this;
        }

        public Criteria andGocompanyNotBetween(String value1, String value2) {
            addCriterion("goCompany not between", value1, value2, "gocompany");
            return (Criteria) this;
        }

        public Criteria andSinglepersonIsNull() {
            addCriterion("singlePerson is null");
            return (Criteria) this;
        }

        public Criteria andSinglepersonIsNotNull() {
            addCriterion("singlePerson is not null");
            return (Criteria) this;
        }

        public Criteria andSinglepersonEqualTo(String value) {
            addCriterion("singlePerson =", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonNotEqualTo(String value) {
            addCriterion("singlePerson <>", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonGreaterThan(String value) {
            addCriterion("singlePerson >", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonGreaterThanOrEqualTo(String value) {
            addCriterion("singlePerson >=", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonLessThan(String value) {
            addCriterion("singlePerson <", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonLessThanOrEqualTo(String value) {
            addCriterion("singlePerson <=", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonLike(String value) {
            addCriterion("singlePerson like", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonNotLike(String value) {
            addCriterion("singlePerson not like", value, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonIn(List<String> values) {
            addCriterion("singlePerson in", values, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonNotIn(List<String> values) {
            addCriterion("singlePerson not in", values, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonBetween(String value1, String value2) {
            addCriterion("singlePerson between", value1, value2, "singleperson");
            return (Criteria) this;
        }

        public Criteria andSinglepersonNotBetween(String value1, String value2) {
            addCriterion("singlePerson not between", value1, value2, "singleperson");
            return (Criteria) this;
        }

        public Criteria andCustodianIsNull() {
            addCriterion("Custodian is null");
            return (Criteria) this;
        }

        public Criteria andCustodianIsNotNull() {
            addCriterion("Custodian is not null");
            return (Criteria) this;
        }

        public Criteria andCustodianEqualTo(String value) {
            addCriterion("Custodian =", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotEqualTo(String value) {
            addCriterion("Custodian <>", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianGreaterThan(String value) {
            addCriterion("Custodian >", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianGreaterThanOrEqualTo(String value) {
            addCriterion("Custodian >=", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianLessThan(String value) {
            addCriterion("Custodian <", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianLessThanOrEqualTo(String value) {
            addCriterion("Custodian <=", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianLike(String value) {
            addCriterion("Custodian like", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotLike(String value) {
            addCriterion("Custodian not like", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianIn(List<String> values) {
            addCriterion("Custodian in", values, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotIn(List<String> values) {
            addCriterion("Custodian not in", values, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianBetween(String value1, String value2) {
            addCriterion("Custodian between", value1, value2, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotBetween(String value1, String value2) {
            addCriterion("Custodian not between", value1, value2, "custodian");
            return (Criteria) this;
        }

        public Criteria andConsigneeIsNull() {
            addCriterion("Consignee is null");
            return (Criteria) this;
        }

        public Criteria andConsigneeIsNotNull() {
            addCriterion("Consignee is not null");
            return (Criteria) this;
        }

        public Criteria andConsigneeEqualTo(String value) {
            addCriterion("Consignee =", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeNotEqualTo(String value) {
            addCriterion("Consignee <>", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeGreaterThan(String value) {
            addCriterion("Consignee >", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeGreaterThanOrEqualTo(String value) {
            addCriterion("Consignee >=", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeLessThan(String value) {
            addCriterion("Consignee <", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeLessThanOrEqualTo(String value) {
            addCriterion("Consignee <=", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeLike(String value) {
            addCriterion("Consignee like", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeNotLike(String value) {
            addCriterion("Consignee not like", value, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeIn(List<String> values) {
            addCriterion("Consignee in", values, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeNotIn(List<String> values) {
            addCriterion("Consignee not in", values, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeBetween(String value1, String value2) {
            addCriterion("Consignee between", value1, value2, "consignee");
            return (Criteria) this;
        }

        public Criteria andConsigneeNotBetween(String value1, String value2) {
            addCriterion("Consignee not between", value1, value2, "consignee");
            return (Criteria) this;
        }

        public Criteria andCremark1IsNull() {
            addCriterion("cremark1 is null");
            return (Criteria) this;
        }

        public Criteria andCremark1IsNotNull() {
            addCriterion("cremark1 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark1EqualTo(String value) {
            addCriterion("cremark1 =", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotEqualTo(String value) {
            addCriterion("cremark1 <>", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1GreaterThan(String value) {
            addCriterion("cremark1 >", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1GreaterThanOrEqualTo(String value) {
            addCriterion("cremark1 >=", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1LessThan(String value) {
            addCriterion("cremark1 <", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1LessThanOrEqualTo(String value) {
            addCriterion("cremark1 <=", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1Like(String value) {
            addCriterion("cremark1 like", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotLike(String value) {
            addCriterion("cremark1 not like", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1In(List<String> values) {
            addCriterion("cremark1 in", values, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotIn(List<String> values) {
            addCriterion("cremark1 not in", values, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1Between(String value1, String value2) {
            addCriterion("cremark1 between", value1, value2, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotBetween(String value1, String value2) {
            addCriterion("cremark1 not between", value1, value2, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark2IsNull() {
            addCriterion("cremark2 is null");
            return (Criteria) this;
        }

        public Criteria andCremark2IsNotNull() {
            addCriterion("cremark2 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark2EqualTo(String value) {
            addCriterion("cremark2 =", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotEqualTo(String value) {
            addCriterion("cremark2 <>", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2GreaterThan(String value) {
            addCriterion("cremark2 >", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2GreaterThanOrEqualTo(String value) {
            addCriterion("cremark2 >=", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2LessThan(String value) {
            addCriterion("cremark2 <", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2LessThanOrEqualTo(String value) {
            addCriterion("cremark2 <=", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2Like(String value) {
            addCriterion("cremark2 like", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotLike(String value) {
            addCriterion("cremark2 not like", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2In(List<String> values) {
            addCriterion("cremark2 in", values, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotIn(List<String> values) {
            addCriterion("cremark2 not in", values, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2Between(String value1, String value2) {
            addCriterion("cremark2 between", value1, value2, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotBetween(String value1, String value2) {
            addCriterion("cremark2 not between", value1, value2, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark3IsNull() {
            addCriterion("cremark3 is null");
            return (Criteria) this;
        }

        public Criteria andCremark3IsNotNull() {
            addCriterion("cremark3 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark3EqualTo(String value) {
            addCriterion("cremark3 =", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotEqualTo(String value) {
            addCriterion("cremark3 <>", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3GreaterThan(String value) {
            addCriterion("cremark3 >", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3GreaterThanOrEqualTo(String value) {
            addCriterion("cremark3 >=", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3LessThan(String value) {
            addCriterion("cremark3 <", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3LessThanOrEqualTo(String value) {
            addCriterion("cremark3 <=", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3Like(String value) {
            addCriterion("cremark3 like", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotLike(String value) {
            addCriterion("cremark3 not like", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3In(List<String> values) {
            addCriterion("cremark3 in", values, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotIn(List<String> values) {
            addCriterion("cremark3 not in", values, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3Between(String value1, String value2) {
            addCriterion("cremark3 between", value1, value2, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotBetween(String value1, String value2) {
            addCriterion("cremark3 not between", value1, value2, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark4IsNull() {
            addCriterion("cremark4 is null");
            return (Criteria) this;
        }

        public Criteria andCremark4IsNotNull() {
            addCriterion("cremark4 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark4EqualTo(String value) {
            addCriterion("cremark4 =", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotEqualTo(String value) {
            addCriterion("cremark4 <>", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4GreaterThan(String value) {
            addCriterion("cremark4 >", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4GreaterThanOrEqualTo(String value) {
            addCriterion("cremark4 >=", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4LessThan(String value) {
            addCriterion("cremark4 <", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4LessThanOrEqualTo(String value) {
            addCriterion("cremark4 <=", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4Like(String value) {
            addCriterion("cremark4 like", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotLike(String value) {
            addCriterion("cremark4 not like", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4In(List<String> values) {
            addCriterion("cremark4 in", values, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotIn(List<String> values) {
            addCriterion("cremark4 not in", values, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4Between(String value1, String value2) {
            addCriterion("cremark4 between", value1, value2, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotBetween(String value1, String value2) {
            addCriterion("cremark4 not between", value1, value2, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark5IsNull() {
            addCriterion("cremark5 is null");
            return (Criteria) this;
        }

        public Criteria andCremark5IsNotNull() {
            addCriterion("cremark5 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark5EqualTo(String value) {
            addCriterion("cremark5 =", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotEqualTo(String value) {
            addCriterion("cremark5 <>", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5GreaterThan(String value) {
            addCriterion("cremark5 >", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5GreaterThanOrEqualTo(String value) {
            addCriterion("cremark5 >=", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5LessThan(String value) {
            addCriterion("cremark5 <", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5LessThanOrEqualTo(String value) {
            addCriterion("cremark5 <=", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5Like(String value) {
            addCriterion("cremark5 like", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotLike(String value) {
            addCriterion("cremark5 not like", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5In(List<String> values) {
            addCriterion("cremark5 in", values, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotIn(List<String> values) {
            addCriterion("cremark5 not in", values, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5Between(String value1, String value2) {
            addCriterion("cremark5 between", value1, value2, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotBetween(String value1, String value2) {
            addCriterion("cremark5 not between", value1, value2, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark6IsNull() {
            addCriterion("cremark6 is null");
            return (Criteria) this;
        }

        public Criteria andCremark6IsNotNull() {
            addCriterion("cremark6 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark6EqualTo(String value) {
            addCriterion("cremark6 =", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotEqualTo(String value) {
            addCriterion("cremark6 <>", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6GreaterThan(String value) {
            addCriterion("cremark6 >", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6GreaterThanOrEqualTo(String value) {
            addCriterion("cremark6 >=", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6LessThan(String value) {
            addCriterion("cremark6 <", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6LessThanOrEqualTo(String value) {
            addCriterion("cremark6 <=", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6Like(String value) {
            addCriterion("cremark6 like", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotLike(String value) {
            addCriterion("cremark6 not like", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6In(List<String> values) {
            addCriterion("cremark6 in", values, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotIn(List<String> values) {
            addCriterion("cremark6 not in", values, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6Between(String value1, String value2) {
            addCriterion("cremark6 between", value1, value2, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotBetween(String value1, String value2) {
            addCriterion("cremark6 not between", value1, value2, "cremark6");
            return (Criteria) this;
        }

        public Criteria andGotypeIsNull() {
            addCriterion("goType is null");
            return (Criteria) this;
        }

        public Criteria andGotypeIsNotNull() {
            addCriterion("goType is not null");
            return (Criteria) this;
        }

        public Criteria andGotypeEqualTo(String value) {
            addCriterion("goType =", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeNotEqualTo(String value) {
            addCriterion("goType <>", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeGreaterThan(String value) {
            addCriterion("goType >", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeGreaterThanOrEqualTo(String value) {
            addCriterion("goType >=", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeLessThan(String value) {
            addCriterion("goType <", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeLessThanOrEqualTo(String value) {
            addCriterion("goType <=", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeLike(String value) {
            addCriterion("goType like", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeNotLike(String value) {
            addCriterion("goType not like", value, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeIn(List<String> values) {
            addCriterion("goType in", values, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeNotIn(List<String> values) {
            addCriterion("goType not in", values, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeBetween(String value1, String value2) {
            addCriterion("goType between", value1, value2, "gotype");
            return (Criteria) this;
        }

        public Criteria andGotypeNotBetween(String value1, String value2) {
            addCriterion("goType not between", value1, value2, "gotype");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}